package indi.zhifa.study2025.oa.model.expose.menu.dto;

import indi.zhifa.study2025.oa.model.enums.EMenuType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class MenuCreateDto {

    @Schema(title = "版本")
    private String versionCode;

    @Schema(title = "菜单类型。1是模块，2是页面，3是按钮，4是请求，5是资源，6是逻辑节点")
    private EMenuType menuType;

    @Schema(title = "菜单码")
    private String code;

    @Schema(title = "菜单名称")
    private String name;

    @Schema(title = "资源uri")
    private String uriResource;

    @Schema(title = "请求uri")
    private String uriRequest;

    @Schema(title = "前端组件名")
    private String component;

    @Schema(title = "数据权限组Id")
    private List<Long> dataGroupId;
}
